/**
 * 
 */
package com.swfee.qinben.dto.active;

/**
 * @author ddr
 * 
 */
public class AppointmentModel {

	private String submitTime;
	private String patient;
	private String doctor;
	private Integer status;
	public String getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public AppointmentModel(String submitTime, String patient, String doctor,
			Integer status) {
		super();
		this.submitTime = submitTime;
		this.patient = patient;
		this.doctor = doctor;
		this.status = status;
	}

	public String getStatusMsg(){
		switch (status) {
		case 1:
			return "成功";
		case 0:
			return "审核中";
		case 2:
			return "申请拒绝";
		default:
			return "未知状态";
		}
	}
	
	

}
